﻿@model Store.Web.Models.Order

@{
    ViewBag.Title = "Edit";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@using (Html.BeginForm())
{ 
    <h2>Edition de la commande #@Model.Id</h2>

    <p>Prix total : @Html.DisplayFor(m => m.TotalPrice)</p>
    <p>Etat :</p>
    <p>@Html.DropDownListFor(m => m.State, (IEnumerable<SelectListItem>)ViewBag.States)</p>
    
    <input type="submit" value="Mettre à jour" />
}
